package com.yy.wga.mp.module.user.request;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * description
 *
 * @author <a href="mailto:ludezh@dingtalk.com"> ludezh </a>
 * @version 1.0.0   2020/6/5,18:15
 * @since 1.0.0     2020/6/5,18:15
 */
@Data
public class UserRegisterAndBindStatusSetRequest {
    /**
     * 微信号
     */
    @NotNull(message = "是否注册并绑定机构不能为空")
    @Range(min = 0, max = 1, message = "是否注册并绑定机构只能为0或1")
    private Integer registerBindStatus;

}
